
import React from 'react';
import {
  Switch,
  Route,

} from "react-router-dom";
import Home from '../components/staff';
import Feedback from '../components/staff/feedback';
import Apply from '../components/staff/apply';
import History from '../components/staff/history';
import Detail from '../components/staff/detail';
import FeedbackDetail from '../components/staff/feedbackDetail';
import BossLogin from '../components/boss/login'
import BossHistory from '../components/boss/history'
import BossDetail from '../components/boss/detail'


export default function App () {
  return (
    <Switch>
      {/* <Route path="/" exact >
        <Home />
      </Route>
      <Route path="/feedback">
        <Feedback />
      </Route>
      <Route path="/apply">
        <Apply />
      </Route>
      <Route path="/history">
        <History  />
      </Route>
      <Route path="/detail">
        <Detail  />
      </Route>
      <Route path="/feedbackDetail">
        <FeedbackDetail />
      </Route>
      <Route path="/bossLogin">
        <BossLogin />
      </Route>
      <Route path="/bossHistory">
        <BossHistory />
      </Route>
      <Route path="/bossDetail">
        <BossDetail />
      </Route> */}

      <Route path="/bossLogin">
        <BossLogin />
      </Route>
      <Route path="/bossHistory">
        <BossHistory />
      </Route>
      <Route path="/bossDetail">
        <BossDetail />
      </Route>

    </Switch>
  )
}